﻿using System;
using System.Text;
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace NLocalizer.Tests
{
    [TestClass]
    public class GoogleTranslatorTest
    {
        [TestMethod]
        public void TranslateTest()
        {
            Assert.AreEqual("Ala ma kota", GoogleTranslator.Translate("Ala has cat", "en|pl"));
            Assert.AreEqual("Ala ma kota", GoogleTranslator.Translate("Ala has cat", "en", "pl"));
        }
    }
}
